﻿@{
    ViewBag.Title = "Index";
    string factoryKey = ViewBag.FactoryKey.ToString();
}

<h2>Index @Model (@factoryKey)</h2>

This page is reloading itself every 200ms to check if the begin and end unit of work is working fine.
<br/>
Have a look into the global asax to understand what's going on!

<script type="text/javascript">
    setTimeout(function () {
        document.location = document.location;
    }, 200);

</script>
